<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="csrf-token" content="{{ csrf_token() }}">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<link rel="stylesheet" href="{{ url('/ad/bootstrap/css/bootstrap.min.css') }}">
	<link type="text/css" rel="stylesheet" href="{{ url('/home/css/index.css') }}">
	<link type="text/css" rel="stylesheet" href="{{ url('/home/css/ip_style.css') }}">
	<link href="{{ url('/home/css/reset.css') }}" rel="stylesheet" type="text/css">
	<link href="{{ url('/home/css/jobtag.css') }}" rel="stylesheet" type="text/css">
	<link href="{{ url('/home/css/style.css') }}" rel="stylesheet" type="text/css">
	<link href="{{ url('/home/css/popupDiv.css') }}" rel="stylesheet" type="text/css">
	<link href="{{ url('/home/css/rd_style.css') }}" rel="stylesheet" type="text/css">
	<link href="{{ url('/home/css/resume_search.css') }}" rel="stylesheet" type="text/css">
	<link href="{{ url('/home/css/resumes_index.css') }}" rel="stylesheet" type="text/css">
	<link href="{{ url('/home/css/jquery.zlzp.popupdiv.css') }}" rel="stylesheet" type="text/css">


	<!-- jQuery 2.1.4 -->
	<script src="{{ url('/ad/plugins/jQuery/jQuery-2.1.4.min.js') }}"></script>

	<!-- jQuery UI 1.11.4 -->
	<script src="{{ url('/ad/bootstrap/js/jquery-ui.min.js') }}"></script>
	
	<!-- 配置文件 -->
    <script type="text/javascript" src="{{ url('/ue/ueditor.config.js') }}"></script>
   <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="{{ url('/ue/ueditor.all.js') }}"></script>
	<title>企业会员中心</title>
	<style type="text/css">
	/*公共样式 start*/
	body, div, ul, li, p, input, select, button, table, tr, td {
	    margin: 0;
	    padding: 0;

	}
	td, p, div, span, li, select, input, textarea {
	    font-family: Verdana;
	    font-size: 12px;
	    word-break: break-all;
	    word-wrap: break-word;
	}
	/*公共样式 end*/
	/*header*/
	.ip_top {
	    background: rgba(0, 0, 0, 0) url("/home/img/ip_topbg.jpg") repeat-x scroll 0 0;
	    height: 63px;
	    margin: 0 auto;
	    width: 760px;
	}
	/*header logo*/
	.ip_top .index_logo {
	    float: left;
	    width: 156px;
	}

	.ip_top .ip_logo {
	    float: left;
	    height: 57px;
	    width: 92px;
	}

	.ip_top .ip_list {
	    /*float: right;*/
	    padding-right: 20px;
	    /*width: 168px;*/
	}

	.ip_top  .daohang_2 {
	    color: #000;
	    float: right;
	    line-height: 20px;
	    padding-left: 6px;
	    padding-top: 10px;
	}
	.ip_main {
	    background: rgba(0, 0, 0, 0) url("/home/img/ip_mainbg.jpg") repeat-x scroll center top;
	}

	.main_daohang .ul{
		/*width:728px;*/
	    border-bottom: 3px solid #3e7cd4;
	    margin: 0 0 0 45px;
	    margin-left:15px;

	}
	.daohang_1 li {
	    background: rgba(0, 0, 0, 0) url("/home/img/ip_libg2.jpg") no-repeat scroll 0 0;
	    float: left;
	    font-size: 14px;
	    font-weight: bold;
	    line-height: 13px;
	    /*position: relative;*/
	    text-align: center;
	    width: 165px;
	}

	.col-md-8 {
	    width: 67.8%;
	}

	.link {

	    color: #666;
	    margin: 10px auto 0;

	    width: 950px;
	}
	.link_1 {
	    font-family: tahoma,simsun;
	    line-height: 1.8em;
	    text-align: center;
	}
	.license {
	    margin: 20px auto 10px;
	    overflow: hidden;
	    width: 248px;
	}
	.link_4_1 {
	    border: 1px solid #d2d2d2;
	    float: left;
	    height: 48px;
	    width: 118px;
	}
	.link_5 {
	    background: rgba(0, 0, 0, 0) url("http://images.zhaopin.com/new2011/images/link.jpg") no-repeat scroll 0 0;
	    float: left;
	    height: 44px;
	    width: 42px;
	}
	.link_6 {
	    float: left;
	    height: 41px;
	    padding-left: 5px;
	    padding-top: 7px;
	    text-align: left;
	    width: 69px;
	}
	.link_4_2 {
	    border: 1px solid #d2d2d2;
	    float: right;
	    height: 48px;
	    width: 118px;
	}
	.link_5_1 {
	    background: rgba(0, 0, 0, 0) url("http://images.zhaopin.com/new2011/images/link.jpg") no-repeat scroll -42px 0;
	    float: left;
	    height: 44px;
	    width: 42px;
	}
	.link_6 {
	    float: left;
	    height: 41px;
	    padding-left: 5px;
	    padding-top: 7px;
	    text-align: left;
	    width: 69px;
	}



	/*发布职位css*/
	.new_position p {
	    padding-top: 4px;
	}
	.light-p {
	    color: #333;
	    font: 700 12px "宋体";
	    position: relative;
	}
	</style>

</head>
<body>
<div class="container">
	<div class="row">

	  <div class="col-md-8 col-md-offset-2">
	  	<div class="ip_top">
			<div class="index_logo">
				<a target="_blank" href="{{ url('/home/') }}"><img src="/home/img/index_logo.jpg"> </a>
			</div>
			<div class="ip_logo">
				<a href="{{ url('/home/enterprise/') }}/{{ $id }}"><img src="/home/img/ip_logo.jpg">
				</a>
			</div>
			<div style="width: 400px; float: right" class="ip_list">
				<div class="daohang_2">
					您好，{{ session('master['.$id.']') -> username }}
					
					<a style="color:#315AAA" title="修改密码" href="{{ url('/home/enterprise/password') }}">[修改密码]</a>
					<span id="msgCenter" class="msg_c"><a href="{{ url('/home/enterprise/myinfo') }}">消息中心</a></span>
					<span style="padding: 0px;"><a href="{{ url('/home/enterprise/logout').'/'.$id }}">退出</a></span>
				</div>
			</div>
		</div>
	  </div>
	  
	</div>

	

	<div class="row " style="">
		<div class="col-md-8 col-md-offset-2" >
			<div class="main_daohang ip_main" style="padding:20px 0 10px;">

					<div class="daohang_1">
					  	<ul  class="nav nav-pills ul">
								<li role="presentation"><a href="{{ url('/home/enterprise') }}/{{ $id }}">首页</a></li>
								<li role="presentation"><a href="{{ url('/home/enterprise/jobs/index') }}/{{ $id }}?token={{ session('master['.$id.']') -> token }}">我的职位</a></li>
								<li role="presentation"><a href="{{ url('/home/enterprise/resumes') }}/{{ $id }}?token={{ session('master['.$id.']') -> token }}">我的简历</a><span class="new_icon"></span></li>
								
								<li role="presentation"><a href="{{ url('/home/enterprise/modify') }}/{{ $id }}?token={{ session('master['.$id.']') -> token }}">公司信息</a></li>
								
						</ul>
					</div>
					<script>

						// alert($);
						$("li[role]").each(function(i,v){
							// console.log(i+'----'+v);
							// console.log($(v));
							$(v).hover(function(){
								
								$(this).attr('class','active');

							},function(){
								$(this).attr('class','');
								$("li[default=active]").attr('class','active');

							});
							$(v).click(function(){

								$(this).attr('class','active');
								$('li[role]').unbind('mouseenter').unbind('mouseleave');
								
							});
						});
						// console.log(lis);
						// console.log(location.pathname);
						// console.log();
						if(location.pathname=='/home/enterprise')
						{
							$("li[role]").eq(0).attr('class','active');
							$("li[role]").eq(0).attr('default','active');
							$("li[role]").eq(0).find('a').css('color','#ffffff');

						}else if(location.pathname.substring(0,location.pathname.lastIndexOf('/'))+'/'=='/home/enterprise/jobs/index/' || location.pathname.substring(0,location.pathname.lastIndexOf('/'))+'/'=='/home/enterprise/myjobs/' || location.pathname.substring(0,location.pathname.lastIndexOf('/'))+'/'=='/home/enterprise/jobs/modify/{{ $id }}/')
						{
							$("li[role]").eq(1).attr('class','active');
							$("li[role]").eq(1).attr('default','active');
							$("li[role]").eq(1).find('a').css('color','#ffffff');
						}else if(location.pathname.substring(0,location.pathname.lastIndexOf('/'))+'/'=='/home/enterprise/modify/')
						{
							$("li[role]").eq(4).attr('class','active');
							$("li[role]").eq(4).attr('default','active');
							$("li[role]").eq(4).find('a').css('color','#ffffff');
						}else if(location.pathname.substring(0,location.pathname.lastIndexOf('/'))+'/'=='/home/enterprise/resumes/')
						{
							$("li[role]").eq(2).attr('class','active');
							$("li[role]").eq(2).attr('default','active');
							$("li[role]").eq(2).find('a').css('color','#ffffff');
						}else if(location.pathname.substring(0,location.pathname.lastIndexOf('/'))+'/'=='/home/enterprise/search/')
						{
							$("li[role]").eq(3).attr('class','active');
							$("li[role]").eq(3).attr('default','active');
							$("li[role]").eq(3).find('a').css('color','#ffffff');
						}
					</script>
				@yield('content')
			</div>
			<br>
			
		</div>
	</div>

	<div class="link">
	  <div class="link_1"> <a onmousedown="return AdsClick(121115223,'zhilianjieshao')" target="_blank" href="http://special.zhaopin.com/sh/2009/aboutus/about.html">智联介绍</a> | <a target="_blank" href="http://www.zhaopin.com/sitemap.html">网站地图</a> | <a onmousedown="return AdsClick(121115223,'jiaruzhilian')" target="_blank" href="http://special.zhaopin.com/sh/2009/aboutus/join.html">加入智联</a> | <a onmousedown="return AdsClick(121115223,'falvshengming')" target="_blank" href="http://special.zhaopin.com/sh/2009/aboutus/law.html">法律声明</a> | <a onmousedown="return AdsClick(121115223,'baomichengnuo')" target="_blank" href="http://special.zhaopin.com/sh/2009/aboutus/secrecy.html">保密承诺</a>  | <a onmousedown="return AdsClick(121115223,'lianxifangshi')" target="_blank" href="http://special.zhaopin.com/sh/2009/aboutus/contact.html">联系方式</a> | <a onmousedown="return AdsClick(121115223,'changjianwenti')" target="_blank" href="http://jobseeker.zhaopin.com/zhaopin/faq/question.html">常见问题</a> | <a target="_blank" href="http://zhaopin.investorroom.com">投资者关系</a> 
				您对 Zhaopin.com 有任何建议或意见请<a onclick="openFeedback('http://interact.zhaopin.com/feedback/feedback.asp');return false;" onmousedown="return AdsClick(121115223,' contactus')" href="#">联系我们</a><br>
	未经zhaopin.com 同意，不得转载本网站之所有招聘信息及作品
	 智联招聘网版权所有&copy; 1997-2016<br>
	京ICP备12025925号 电信业务审批[2001]字第233号函<a style="height:20px;text-decoration:none;line-height:20px;margin: 0 0 0 5px; color:#939393;" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502002133" target="_blank">京公网安备11010502002133号</a></div>
	  <div class="license">
	    <div class="link_4_1">
	      <div class="link_5"></div>
	      <div class="link_6"><a href="http://www.hd315.gov.cn/beian/view.asp?bianhao=0102000103000045" target="_blank">经营性网站备案信息</a></div>
	    </div>
	    <div class="link_4_2">
	      <div class="link_5_1"></div>
	      <div class="link_6"><a href="http://www.bj.cyberpolice.cn/index.jsp" target="_blank">网络110报警服务</a></div>
	    </div>
	  </div>
	</div>


</div>
</body>
</html>